package com.software.practicecenter.repository;

import com.software.practicecenter.entity.KnowledgePoint;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collection;
import java.util.List;

/**
 * @Author xiaoliao
 * @Date 2023/5/31 14:38
 */
@Transactional
public interface KnowledgePointRepository extends JpaRepository<KnowledgePoint, String> {
    List<KnowledgePoint> findByIdIn(Collection<String> ids);
}
